import http from './http'
// import {
//   startLoading,
//   endLoading,
// } from '@/api/serviceLoading'
// 
/**
 * 
 *  @param '/testIp'代表vue-cil中config，index.js中配置的代理
 */
//配置生产环境和开发环境的前缀域名
let request = process.env.NODE_ENV === 'development' ? 'http://localhost' : 'http://localhost:8080'
// console.log(request);

export default {
  alarmLevelList(params) {
    return http.get(`${request}/geologicHazardWarn/queryNumList`, params)
  },
  testApi(params) {
    return http.get(`${request}/natural/planlist`, params)
  }
}